package OOday02;

public class ExtendsTest {
    public static void main(String[] args) {
        Student zs = new Student("张三",25,"江西","jds2302","001");
//        zs.name = "张三";
//        zs.age = 13;
//        zs.address="江西";
//        zs.classname="jds2302";
//        zs.stuld="001";
        zs.study();
        zs.sleep();
        zs.sayHi();
        Teacher ls = new Teacher("李老师",26,"南昌",50000);
//        ls.name= "李老师";
//        ls.age= 25;
//        ls.salary = 50000;
//        ls.address ="北京";
          ls.sleep();
          ls.sayHi();
          ls.sb();
        Doctor ww = new Doctor("王五",15,"上海","主任");
//        ww.name = "王五";
//        ww.age = 15;
//        ww.address="上海";
//        ww.title="主任";
          ww.cut();



    }
}
